using MediatR;
using SumerCoreDevOps.Domain.Entities;

namespace SumerCoreDevOps.Application.SystemConfigs.Commands;

/// <summary>
/// 创建配置命令
/// </summary>
public record CreateConfigCommand(
    string ConfigKey,
    string ConfigValue,
    string ConfigType = "String",
    string? Category = null,
    string? Description = null,
    bool RequiresRestart = false,
    bool IsSensitive = false,
    string? CreatedBy = null
) : IRequest<SystemConfig>;
